package com.hualan.mapper;

import com.hualan.domain.Coursemark;

import java.util.List;

/**
* @author 29524
* @description 针对表【coursemark(课程评价表，存储用户对课程的评价信息)】的数据库操作Mapper
* @createDate 2024-09-05 14:58:03
* @Entity com.hualan.domain.Coursemark
*/
public interface CoursemarkMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Coursemark record);

    int insertSelective(Coursemark record);

    Coursemark selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Coursemark record);

    int updateByPrimaryKey(Coursemark record);

    //查询所有评论条数
    int courseMarks();
    //查询所有评价
    List<Coursemark> selectAllCourseMark();

}
